package fimuni.pb138.repositar;

import java.util.List;

public class WARFile {
	private long id;
	private long version;
	private String name;
	private String fileName;
	private List<String> listeners;
	private List<String> filters;
	private String webXML;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getVersion() {
		return version;
	}
	public void setVersion(long version) {
		this.version = version;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<String> getListeners() {
		return listeners;
	}
	public void setListeners(List<String> listeners) {
		this.listeners = listeners;
	}
	public List<String> getFilters() {
		return filters;
	}
	public void setFilters(List<String> filters) {
		this.filters = filters;
	}
	public String getWebXML() {
		return webXML;
	}
	public void setWebXML(String webXML) {
		this.webXML = webXML;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (id ^ (id >>> 32));
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		WARFile other = (WARFile) obj;
		if (id != other.id)
			return false;
		return true;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	@Override
	public String toString() {
		return "WARFile [id=" + id + ", version=" + version + ", name=" + name
				+ ", fileName=" + fileName + ", listeners=" + listeners
				+ ", filters=" + filters + ", webXML=" + webXML + "]";
	}
	
	
}
